import Vue from "../../../core/index";
import { mountComponent } from "../../../core/instance/lifecycle";

import { isReservedTag } from "../util/index";

import { patch } from "./patch";

Vue.config.isReservedTag = isReservedTag;

Vue.prototype.__patch__ = patch;

Vue.prototype.$mount = function (el, hydrating) {
  return mountComponent(this, el, hydrating);
};

export default Vue;
